<?php

namespace app\api\controller;

class Newwindproduct
{
    public $pagesize = 10;

    public function lists()
    {

        $model = new \app\admin\model\NewwindProduct();
        $lists = $model->getDataForWheres([],"id,name,productkey","sorts asc");
        $return['err'] = 0;
        $return['msg'] = '获取成功';
        $return['data'] = $lists;
        return json($return);

    }

}
